package com.qys.livesMall.anchor.model.dto.lives.app;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class GiveGiftDTO {

    @Schema(description = "直播礼物编号")
    @NotNull(message = "ID不能为空")
    private Long id;

    @Schema(description = "礼物数量")
    @NotNull(message = "{请选择礼物数量}")
    @Min(message = "{数量不能小于1}",value = 1)
    private Integer quantity;

    @Schema(description = "主播直播间房间号")
    @NotBlank(message = "主播直播间房间号不能为空")
    private String livesRoomNum;

    @Schema(description = "主播直播场次编号")
    @NotNull(message = "主播直播场次编号不能为空")
    private Long livesSessionId;
}
